package com.liefox.service;

import com.liefox.mapper.AdminsMapper;
import com.liefox.pojo.Admins;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AdminsServiceImpl implements AdminService{
    @Autowired
    private AdminsMapper adminsMapper;
    @Override
    public Admins adminsSignin(Admins admins) {
        return adminsMapper.adminsSignin(admins);
    }

    @Override
    public String getAdminsInfo(String email) {
        return adminsMapper.getAdminsInfo(email);
    }

    @Override
    public String getAdminsName(String email, int password) {return adminsMapper.getAdminsName(email,password);}
}
